//
//  UserinfoController.m
//  VwiovAPP
//
//  Created by WXC on 2018/6/29.
//  Copyright © 2018年 WXC. All rights reserved.
//

#import "UserinfoController.h"
#import "UserinfoEntity.h"

@interface UserinfoController ()

@end

@implementation UserinfoController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationItem.title = @"用户信息";
    [self getUserinfo];
}


#pragma mark - 网络请求
- (void)getUserinfo
{
    UserinfoEntity *entity = [[UserinfoEntity alloc] initWithReqType:Userinfo];
    entity.apikey = apikey;
    
    NSString *singMd5 = [NSString stringWithFormat:@"apikey=%@&secret_key=%@",apikey,secretKey];
    singMd5 = [JYUtils md5:singMd5];
    entity.sign = [singMd5 uppercaseString];;
    [JYNetworkTools requestWithEntity:entity needHud:YES needDismiss:YES success:^(NSDictionary *dic) {
        
    } failed:^(NSError *error) {
        
    }];
}


@end
